package day20131121;

import java.sql.Clob;
import java.util.ArrayList;
import java.util.Date;

public class CustomerDao {

	int 	serial;    
 	String 	mid="";     
    String 	mlevel="";  
    String 	Nickname="";  
    String	jemok="";  
    String 	content ;
    Date    mdate;
	int 	hit;
	int	 	status;
	String 	part;  

	String cusInc7="customer_nav.jsp" ;
	
	int 	fileid;		// 이거는 안 쓰는 듯!?
	
	ArrayList<String> files;	// 첨부파일 저장 collection
	
	
	
	String	contentString;	// Clob 타입의 데이터를 String으로 읽고 저장할 때 필요
	String	findStr="";
	
	int nowPage = 1; 	// 현재 페이지. 초기값 1
	

	public String getPartName() {
		String partName = "";

		if(getPart().equals("help")) partName="도움말";
		else if(getPart().equals("faq")) partName="이용문의";
		
		return partName;

	}


	public String getCusInc7() {
		return cusInc7;
	}


	public void setCusInc7(String cusInc7) {
		this.cusInc7 = cusInc7;
	}


	public int getSerial() {
		return serial;
	}


	public void setSerial(int serial) {
		this.serial = serial;
	}


	public String getMid() {
		return mid;
	}


	public void setMid(String mid) {
		this.mid = mid;
	}




	public String getMlevel() {
		return mlevel;
	}


	public void setMlevel(String mlevel) {
		this.mlevel = mlevel;
	}


	public String getNickname() {
		return Nickname;
	}


	public void setNickname(String nickname) {
		Nickname = nickname;
	}


	public String getJemok() {
		return jemok;
	}


	public void setJemok(String jemok) {
		this.jemok = jemok;
	}


	

	public String getContent() {
		return content;
	}


	public void setContent(String content) {
		this.content = content;
	}


	public int getHit() {
		return hit;
	}


	public void setHit(int hit) {
		this.hit = hit;
	}


	public int getStatus() {
		return status;
	}


	public void setStatus(int status) {
		this.status = status;
	}


	public String getPart() {
		return part;
	}


	public void setPart(String part) {
		this.part = part;
	}


	public int getFileid() {
		return fileid;
	}


	public void setFileid(int fileid) {
		this.fileid = fileid;
	}


	public ArrayList<String> getFiles() {
		return files;
	}


	public void setFiles(ArrayList<String> files) {
		this.files = files;
	}


	public String getContentString() {
		return contentString;
	}


	public void setContentString(String contentString) {
		this.contentString = contentString;
	}


	public String getFindStr() {
		return findStr;
	}


	public void setFindStr(String findStr) {
		this.findStr = findStr;
	}


	public int getNowPage() {
		return nowPage;
	}


	public void setNowPage(int nowPage) {
		this.nowPage = nowPage;
	}


	public Date getMdate() {
		return mdate;
	}


	public void setMdate(Date mdate) {
		this.mdate = mdate;
	}


	
}
